<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>双重循环结构</title>
	<script>
		for(var i=1;i<=3;i++){//外层循环，遍历班级；
			for(var n=1;n<=4;n++){
				var score = Number(prompt('请输入第'+i+'个班第'+n+'同学的成绩'))
			}

		}
		console.log(score)
	</script>
</head>
<body>
	
</body>
</html>